<!--{include file='header.inc.tpl'}-->
<script  type="text/javascript">
var preClassName = "man_nav_1";
function list_sub_nav(Id,sortname,showText){
   if(preClassName != ""){
      getObject(preClassName).className="bg_image";
   }
   if(getObject(Id).className == "bg_image"){
      getObject(Id).className="bg_image_onclick";
      preClassName = Id;
          getObject('show_text').innerHTML = showText;
          window.top.frames['leftFrame'].outlookbar.getbytitle(sortname);
          window.top.frames['leftFrame'].outlookbar.getdefaultnav(sortname);
   }
}
 //获取对象属性兼容方法
 function getObject(objectId) {
    if(document.getElementById && document.getElementById(objectId)) {
        return document.getElementById(objectId);
    } else if (document.all && document.all(objectId)) {
        return document.all(objectId);
    } else if (document.layers && document.layers[objectId]) {
        return document.layers[objectId];
    } else {
        return false;
    }
}
</script>
<body>
    <div id="nav">
        <ul>
            <!--{foreach from=$menu_data key=k item=v name=menu}-->
               <li id="man_nav_<!--{$smarty.foreach.menu.iteration}-->" onclick="list_sub_nav(id,'<!--{$k}-->','<!--{$v.showText}-->')"  class="<!--{if $smarty.foreach.menu.iteration == 1}-->bg_image_onclick<!--{else}-->bg_image<!--{/if}-->"><!--{$k}--></li>
            <!--{/foreach}-->
        </ul>
    </div>
    <div id="sub_info">&nbsp;&nbsp;<img src="<!--{$IMG_DIR}-->hi.gif" />&nbsp;<span id="show_text">欢迎使用<!--{$config_core.seo_title}-->后台管理系统!</span></div>
</body>
</html>